# -*- coding=UTF-8 -*-
import wx
import logging
from gui.homegui import ChangePanel
logging.basicConfig(filename="./log/enchange.log", filemode='w',
                    format='%(asctime)s : %(levelname)s : %(message)s',
                    level=logging.DEBUG)

if __name__ == '__main__':
    app = wx.App(clearSigInt=True)
    frame = wx.Frame(None, title="翻译工具", size=(800, 500))
    nb = wx.Notebook(frame)
    nb.AddPage(ChangePanel(nb), "翻译")
    frame.Show(True)
    app.MainLoop()